#/usr/bin/python
#-*-<coding=UTF-8>-*-

"""
本例展示了
"""

import wx

class Frame(wx.Frame):
    
    def __init__(self):
        wx.Frame.__init__(self,parent=None,id=-1,title="",pos=wx.DefaultPosition,size=wx.DefaultSize)
        panel = wx.Panel(self,-1)
        self.count = 0
        slider = wx.Slider(panel,100,25,1,100,pos=(10,10),size=(250,-1),
                style=wx.SL_HORIZONTAL|wx.SL_AUTOTICKS|wx.SL_LABELS)
        slider.SetTickFreq(5,1)
        slider = wx.Slider(panel,100,25,1,100,pos=(125,70),size=(-1,250),
                style=wx.SL_VERTICAL|wx.SL_AUTOTICKS|wx.SL_LABELS)
        slider.SetTickFreq(20,1)


if __name__ == "__main__":
    app = wx.PySimpleApp()
    frame = Frame()
    frame.Show()
    app.MainLoop()
